﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using ActionService.MessageBase;
using ActionService.DataTransferObjects;

namespace ActionService.Messages
{
    [DataContract(Namespace = "http://www.yourcompany.com/types/")]
    public class PointResponse : ResponseBase
    {
         /// <summary>
        /// Default Constructor for PointResponse.
        /// </summary>
        public PointResponse() { }

        /// <summary>
        /// Overloaded Constructor for PointResponse. Sets CorrelationId.
        /// </summary>
        /// <param name="correlationId"></param>
        public PointResponse(string correlationId) : base(correlationId) { }

        /// <summary>
        /// List of pointResponses. 
        /// </summary>
        [DataMember]
        public IList<PointDto> Points;

        /// <summary>
        /// Single OrderDetail
        /// </summary>
        [DataMember]
        public PointDto Point;
    }
}
